<!DOCTYPE html>
<html>
<title>数据库导入数组</title>
<body>

<h1>test</h1>

<?php
include '../A1head/connect.php';

connectMsqlAgvWms(1);

echo "<table style='border: solid 1px black;'>";
echo "<tr><th>Id</th><th>1<th><th>2<th><th>3<th></tr>";
 
class TableRows extends RecursiveIteratorIterator {
    function __construct($it) { 
        parent::__construct($it, self::LEAVES_ONLY); 
    }
 
    function current() {
        return "<td style='width:150px;border:1px solid black;'>" . parent::current(). "</td>";
    }
 
    function beginChildren() { 
        echo "<tr>"; 
    } 
 
    function endChildren() { 
        echo "</tr>" . "\n";
    } 
} 



showdownMysql();
?>



</body>
</html>